package com.vmj.test.example.invokemethod;

/**
 * Created by yangshoujun on 2017/9/2 下午5:19.
 */
public class StaticMethodClass {

    public static int sum(int i1, int i2) {
        return i1 + i2;
    }

    public static void main(String[] args) {
        int x = 10;
        int y = 20;
        int r = sum(x, y);
        System.out.println(r);
    }
}
